#include <stdio.h>

typedef struct Student
{
    int age;
    char name[10];
    char description[20];
} Student;

void print_struct(Student s)
{
    s.age = 10;
    printf("%d\n", s.age);
    printf("%s\n", s.name);
    printf("%s\n", s.description);
}

void print_struct_pointer(Student *s)
{
    printf("%d\n", s->age);
    printf("%s\n", s->name);
    printf("%s\n", s->description);
}

int main()
{
    Student s1 = {18, "jdz", "xxtyydsjdz"};
    print_struct(s1);
    print_struct_pointer(&s1);
    return 0;
}